package com.wxsoft.business.sys.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wxsoft.business.model.easyui.PageHelper;
import com.wxsoft.business.sys.pojo.SysRoles;
import com.wxsoft.business.sys.pojo.SysUserRoles;

public interface ISysRolesDao {


	long findCount(@Param("sysRoles")SysRoles sysRoles);

	List<SysRoles> findAll(@Param("page")PageHelper page,@Param("sysRoles")SysRoles sysRoles);

	List<SysRoles> getRoleBy(@Param("sysRoles")SysRoles sysRoles);
	
	List<SysRoles> getRoleByUser(@Param("userRoles")SysUserRoles userRoles);
	
	public int insert(@Param("sysRoles")SysRoles sysRoles);
	
	public int modify(@Param("sysRoles")SysRoles sysRoles);
	
	public int delete(@Param("sysRoles")SysRoles sysRoles);
	
}
